from django.http import HttpResponseRedirect
from django.conf.urls.defaults import *
from tjango.extra_admin.views import *
import os

urlpatterns = patterns('',

     (r'^(?P<model_admin>\w+)/general.js$', general),
     (r'^(?P<model>\w+)/calculated.js$', calculated),
     (r'^(?P<model>\w+)/get/(?P<field>\w+)/$', get_value),
	 url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.dirname(__file__),}),
)
